package com.itaem.community.modules.infrastructure.company.company.dto;

import com.itaem.community.modules.infrastructure.company.department.dto.DepartmentBriefDTO;
import com.itaem.community.modules.infrastructure.company.department.dto.DepartmentDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>项目名称: community </p>
 * <p>文件名称: CompanyDTO </p>
 * <p>描述: [类型描述] </p>
 * <p>创建时间: 2020/10/31 </p>
 * <p>作者信息: tomato</p>
 *
 * @author tomato
 * @version v1.0
 */
@Data
@ApiModel("物业公司信息(包括其部门信息)")
public class CompanyDTO {

    @ApiModelProperty(value = "物业公司id")
    private String id;

    @ApiModelProperty(value = "物业公司名")
    private String companyName;

    @ApiModelProperty(value = "物业公司下属部门")
    private List<DepartmentBriefDTO> departments;

    @ApiModelProperty(value = "逻辑删除情况")
    private Boolean deleted;
}
